package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.MyNotice;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MyNoticeMapper {
int mynoticeAdd(MyNotice myNotice);
int mynoticeUpdate(MyNotice myNotice);
int mynoticeDelete(int id);
List<MyNotice> mynoticeSelectAll();
List<MyNotice> mynoticeSelectByMore();
List<MyNotice> mynoticeSelectByName(String name);
}
